/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.vod.gauss.File;

/**
 *
 * @author drazanakoto
 */
public interface File {
    
    public static int DEFAULT_BLOCK_SIZE = 10;
    public static int DEFAULT_PACKET_SIZE = 3;
    
    /**
     * 
     * @return 
     */
    public byte [] create();
    
    /**
     * 
     * @throws java.lang.Exception
     */
    public int readNextBlock() throws Exception;
    
    /**
     * 
     * @param blockSize
     */
    public void setBlockSize(int blockSize);
    
    
    /**
     * 
     * @param PackSize
     */
    public void setPacketSize(int PackSize);
    
    
    /**
     * 
     * @return 
     */
    public int getBlockSize();
    
    
    /**
     * 
     * @return 
     */
    public int getPacketSize();
}
